package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbProvincesMapper;
import com.dongdongshop.pojo.TbProvinces;
import com.dongdongshop.service.ProvincesService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
@DubboService
public class ProvincesServiceImpl implements ProvincesService {
    @Resource
    private TbProvincesMapper tm;

    @Override
    public List<TbProvinces> getProvincesAll() {
        return tm.selectByExample(null);
    }
}
